package org.javaopenaccess.service.user;

import org.javaopenaccess.command.UserCommand;
import org.javaopenaccess.model.User;
import org.javaopenaccess.service.TransactionalService;

/**
 * This interface provides authentication services.
 * @author Miku
 *
 */
public interface UserService{
	
	User getUser(UserCommand form) throws UserNotFoundException;

	User getUser(String userName) throws UserNotFoundException;

	void createUser(User user);
}
